abstract class $CONTAINER{ETP} < $ELT{ETP}
****
The basic abstract container type Does not have a create:SAME method, since this does not make sense for arrays and other indexible types, where the create should take SAME as an argument Inherits: elt!, str


Ancestors
$ELT{_} $ELT

Descendants
$DISPENSER{_} $NR_STACK{_} $STACK{_} A_STACK{_}
$RO_ARR{_} $ARR{_} ARRAY{_} AM_CALL_EXPR
AM_ITER_CALL_EXPR AM_EXT_CALL_EXPR AM_BND_ROUT_CALL_EXPR AM_BND_ITER_CALL_EXPR
AM_ROUT_CALL_EXPR LAYOUT_ARRAY AM_BND_CREATE_EXPR AM_ARRAY_EXPR
AM_ROUT_DEF CODE_FILE_ARRAY LAYOUT_ARR TP_ARRAY
FLIST{_} FSTR $RO_MAP{_,_} $MAP{_,_}



Public


Features
copy: $CONTAINER{ETP};
**** Should be "SAME" Return a copy of the current container post result = self
has(e: ETP): BOOL;
**** pre ~void(self) True if the container contains the element "e"
size: INT;
**** Number of elements actually inserted